# near model CODE resource # jump table entries: 328-328 (1 of them) export_41: 00000000 4E56 FFF8 link A6, -0x0008 00000004 48E7 1318 movem.l -[A7], D3,D6,D7,A3,A4 00000008 7C00 moveq.l D6, 0x00 0000000A 486D FEC6 pea.l [A5 - 0x13A] 0000000E A86E syscall InitGraf 00000010 A8FE syscall InitFonts 00000012 A912 syscall InitWindows 00000014 A930 syscall InitMenus 00000016 A9CC syscall TEInit 00000018 7000 moveq.l D0, 0x00 0000001A 2F00 move.l -[A7], D0 0000001C A97B syscall InitDialogs 0000001E A850 syscall InitCursor 00000020 422D F468 clr.b [A5 - 0xB98] 00000024 7E01 moveq.l D7, 0x01 label00000026: 00000026 558F subq.l A7, 2 00000028 70FF moveq.l D0, 0xFFFFFFFF 0000002A 3F00 move.w -[A7], D0 0000002C 486D F46A pea.l [A5 - 0xB96] 00000030 A971 syscall EventAvail 00000032 544F addq.w A7, 2 00000034 5247 addq.w D7, 1 00000036 0C47 0003 cmpi.w D7, 0x3 0000003A 6FEA ble -0x14 /* 00000026 */ 0000003C 7001 moveq.l D0, 0x01 0000003E 43ED F448 lea.l A1, [A5 - 0xBB8] 00000042 2049 movea.l A0, A1 00000044 A090 syscall SysEnvirons 00000046 0C6D 0700 F44C cmpi.w [A5 - 0xBB4], 0x700 0000004C 6C06 bge +0x8 /* 00000054 */ 0000004E 2C3C 0000 00CC move.l D6, 0xCC label00000054: 00000054 4A86 tst.l D6 00000056 6600 02E4 bne +0x2E6 /* 0000033C */ 0000005A 426D F45E clr.w [A5 - 0xBA2] 0000005E 422D F458 clr.b [A5 - 0xBA8] 00000062 7001 moveq.l D0, 0x01 00000064 2B40 F45A move.l [A5 - 0xBA6], D0 00000068 203C 7174 696D move.l D0, 0x7174696D /* 'qtim' */ 0000006E 41EE FFFC lea.l A0, [A6 - 0x4] 00000072 2248 movea.l A1, A0 00000074 A1AD syscall Gestalt, flags=1 00000076 2288 move.l [A1], A0 00000078 4A40 tst.w D0 0000007A 57C3 seq D3 0000007C 4403 neg.b D3 0000007E 1B43 F460 move.b [A5 - 0xBA0], D3 00000082 7600 moveq.l D3, 0x00 00000084 2F03 move.l -[A7], D3 00000086 203C 736E 6420 move.l D0, 0x736E6420 /* 'snd ' */ 0000008C 41EE FFFC lea.l A0, [A6 - 0x4] 00000090 2248 movea.l A1, A0 00000092 A1AD syscall Gestalt, flags=1 00000094 2288 move.l [A1], A0 00000096 261F move.l D3, [A7]+ 00000098 4A40 tst.w D0 0000009A 660A bne +0xC /* 000000A6 */ 0000009C 7020 moveq.l D0, 0x20 0000009E C0AE FFFC and.l D0, [A6 - 0x4] 000000A2 6702 beq +0x4 /* 000000A6 */ 000000A4 7601 moveq.l D3, 0x01 label000000A6: 000000A6 1B43 F461 move.b [A5 - 0xB9F], D3 000000AA 7600 moveq.l D3, 0x00 000000AC 2F03 move.l -[A7], D3 000000AE 203C 7474 7363 move.l D0, 0x74747363 /* 'ttsc' */ 000000B4 41EE FFFC lea.l A0, [A6 - 0x4] 000000B8 2248 movea.l A1, A0 000000BA A1AD syscall Gestalt, flags=1 000000BC 2288 move.l [A1], A0 000000BE 261F move.l D3, [A7]+ 000000C0 4A40 tst.w D0 000000C2 660A bne +0xC /* 000000CE */ 000000C4 7001 moveq.l D0, 0x01 000000C6 C0AE FFFC and.l D0, [A6 - 0x4] 000000CA 6702 beq +0x4 /* 000000CE */ 000000CC 7601 moveq.l D3, 0x01 label000000CE: 000000CE 1B43 F462 move.b [A5 - 0xB9E], D3 000000D2 203C 7164 6778 move.l D0, 0x71646778 /* 'qdgx' */ 000000D8 41EE FFFC lea.l A0, [A6 - 0x4] 000000DC 2248 movea.l A1, A0 000000DE A1AD syscall Gestalt, flags=1 000000E0 2288 move.l [A1], A0 000000E2 4A40 tst.w D0 000000E4 57C3 seq D3 000000E6 4403 neg.b D3 000000E8 1B43 F463 move.b [A5 - 0xB9D], D3 000000EC 7600 moveq.l D3, 0x00 000000EE 2F03 move.l -[A7], D3 000000F0 203C 7473 6D76 move.l D0, 0x74736D76 /* 'tsmv' */ 000000F6 41EE FFFC lea.l A0, [A6 - 0x4] 000000FA 2248 movea.l A1, A0 000000FC A1AD syscall Gestalt, flags=1 000000FE 2288 move.l [A1], A0 00000100 261F move.l D3, [A7]+ 00000102 4A40 tst.w D0 00000104 660A bne +0xC /* 00000110 */ 00000106 7001 moveq.l D0, 0x01 00000108 B0AE FFFC cmp.l D0, [A6 - 0x4] 0000010C 6E02 bgt +0x4 /* 00000110 */ 0000010E 7601 moveq.l D3, 0x01 label00000110: 00000110 1B43 F464 move.b [A5 - 0xB9C], D3 00000114 7600 moveq.l D3, 0x00 00000116 2F03 move.l -[A7], D3 00000118 203C 746D 5445 move.l D0, 0x746D5445 /* 'tmTE' */ 0000011E 41EE FFFC lea.l A0, [A6 - 0x4] 00000122 2248 movea.l A1, A0 00000124 A1AD syscall Gestalt, flags=1 00000126 2288 move.l [A1], A0 00000128 261F move.l D3, [A7]+ 0000012A 4A40 tst.w D0 0000012C 660A bne +0xC /* 00000138 */ 0000012E 7001 moveq.l D0, 0x01 00000130 C0AE FFFC and.l D0, [A6 - 0x4] 00000134 6702 beq +0x4 /* 00000138 */ 00000136 7601 moveq.l D3, 0x01 label00000138: 00000138 1B43 F465 move.b [A5 - 0xB9B], D3 0000013C 7600 moveq.l D3, 0x00 0000013E 2F03 move.l -[A7], D3 00000140 203C 6472 6167 move.l D0, 0x64726167 /* 'drag' */ 00000146 41EE FFFC lea.l A0, [A6 - 0x4] 0000014A 2248 movea.l A1, A0 0000014C A1AD syscall Gestalt, flags=1 0000014E 2288 move.l [A1], A0 00000150 261F move.l D3, [A7]+ 00000152 4A40 tst.w D0 00000154 662A bne +0x2C /* 00000180 */ 00000156 7001 moveq.l D0, 0x01 00000158 C0AE FFFC and.l D0, [A6 - 0x4] 0000015C 6722 beq +0x24 /* 00000180 */ 0000015E 2F03 move.l -[A7], D3 00000160 203C 7465 6174 move.l D0, 0x74656174 /* 'teat' */ 00000166 41EE FFFC lea.l A0, [A6 - 0x4] 0000016A 2248 movea.l A1, A0 0000016C A1AD syscall Gestalt, flags=1 0000016E 2288 move.l [A1], A0 00000170 261F move.l D3, [A7]+ 00000172 4A40 tst.w D0 00000174 660A bne +0xC /* 00000180 */ 00000176 7001 moveq.l D0, 0x01 00000178 C0AE FFFC and.l D0, [A6 - 0x4] 0000017C 6702 beq +0x4 /* 00000180 */ 0000017E 7601 moveq.l D3, 0x01 label00000180: 00000180 1B43 F466 move.b [A5 - 0xB9A], D3 00000184 4A2D F465 tst.b [A5 - 0xB9B] 00000188 6710 beq +0x12 /* 0000019A */ 0000018A 558F subq.l A7, 2 0000018C 303C 0014 move.w D0, 0x14 00000190 AA54 syscall TextServicesDispatch 00000192 4A5F tst.w [A7]+ 00000194 6704 beq +0x6 /* 0000019A */ 00000196 426D F464 clr.w [A5 - 0xB9C] label0000019A: 0000019A 558F subq.l A7, 2 0000019C A994 syscall CurResFile 0000019E 3B5F F446 move.w [A5 - 0xBBA], [A7]+ 000001A2 598F subq.l A7, 4 000001A4 A8D8 syscall NewRgn 000001A6 2B5F F442 move.l [A5 - 0xBBE], [A7]+ 000001AA 598F subq.l A7, 4 000001AC 3F3C 0080 move.w -[A7], 0x80 000001B0 A9C0 syscall GetNewMBar 000001B2 265F movea.l A3, [A7]+ 000001B4 558F subq.l A7, 2 000001B6 A9AF syscall ResError 000001B8 301F move.w D0, [A7]+ 000001BA 48C0 ext.l D0 000001BC 2C00 move.l D6, D0 000001BE 660A bne +0xC /* 000001CA */ 000001C0 200B move.l D0, A3 000001C2 6606 bne +0x8 /* 000001CA */ 000001C4 2C3C FFFF FF40 move.l D6, 0xFFFFFF40 label000001CA: 000001CA 4A86 tst.l D6 000001CC 6600 016E bne +0x170 /* 0000033C */ 000001D0 2F0B move.l -[A7], A3 000001D2 A93C syscall SetMenuBar 000001D4 204B movea.l A0, A3 000001D6 A023 syscall DisposHandle/DisposeHandle 000001D8 598F subq.l A7, 4 000001DA 3F3C 0080 move.w -[A7], 0x80 000001DE A949 syscall GetMenuHandle 000001E0 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */ 000001E6 A94D syscall AppendResMenu/AddResMenu 000001E8 598F subq.l A7, 4 000001EA 3F3C 0083 move.w -[A7], 0x83 000001EE A949 syscall GetMenuHandle 000001F0 2F3C 464F 4E54 move.l -[A7], 0x464F4E54 /* 'FONT' */ 000001F6 A94D syscall AppendResMenu/AddResMenu 000001F8 598F subq.l A7, 4 000001FA 3F3C 0087 move.w -[A7], 0x87 000001FE A9BF syscall GetRMenu 00000200 2857 movea.l A4, [A7] 00000202 70FF moveq.l D0, 0xFFFFFFFF 00000204 3F00 move.w -[A7], D0 00000206 A935 syscall InsertMenu 00000208 486E FFFA pea.l [A6 - 0x6] 0000020C 486E FFF8 pea.l [A6 - 0x8] 00000210 7041 moveq.l D0, 0x41 00000212 2F00 move.l -[A7], D0 00000214 4EAD 004A jsr [A5 + 0x4A /* export_5 */] 00000218 598F subq.l A7, 4 0000021A 3F2E FFF8 move.w -[A7], [A6 - 0x8] 0000021E A949 syscall GetMenuHandle 00000220 2857 movea.l A4, [A7] 00000222 3F2E FFFA move.w -[A7], [A6 - 0x6] 00000226 701B moveq.l D0, 0x1B 00000228 3F00 move.w -[A7], D0 0000022A A84F syscall SetItemCmd 0000022C 2F0C move.l -[A7], A4 0000022E 3F2E FFFA move.w -[A7], [A6 - 0x6] 00000232 3F3C 0087 move.w -[A7], 0x87 00000236 A944 syscall SetItmMark 00000238 7000 moveq.l D0, 0x00 0000023A 2F00 move.l -[A7], D0 0000023C 2F00 move.l -[A7], D0 0000023E 4EAD 0072 jsr [A5 + 0x72 /* export_10 */] 00000242 A937 syscall DrawMenuBar 00000244 4A2D F460 tst.b [A5 - 0xBA0] 00000248 4FEF 0014 lea.l A7, [A7 + 0x14] 0000024C 670E beq +0x10 /* 0000025C */ 0000024E 558F subq.l A7, 2 00000250 7001 moveq.l D0, 0x01 00000252 AAAA syscall QuickTimeDispatch 00000254 4A5F tst.w [A7]+ 00000256 6704 beq +0x6 /* 0000025C */ 00000258 422D F460 clr.b [A5 - 0xBA0] label0000025C: 0000025C 4A2D F463 tst.b [A5 - 0xB9D] 00000260 6704 beq +0x6 /* 00000266 */ 00000262 422D F467 clr.b [A5 - 0xB99] label00000266: 00000266 558F subq.l A7, 2 00000268 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */ 0000026E 2F3C 6F61 7070 move.l -[A7], 0x6F617070 /* 'oapp' */ 00000274 486D 0082 pea.l [A5 + 0x82 /* export_12 */] 00000278 7000 moveq.l D0, 0x00 0000027A 2F00 move.l -[A7], D0 0000027C 7200 moveq.l D1, 0x00 0000027E 1F01 move.b -[A7], D1 00000280 303C 091F move.w D0, 0x91F 00000284 A816 syscall Pack8 00000286 558F subq.l A7, 2 00000288 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */ 0000028E 2F3C 7175 6974 move.l -[A7], 0x71756974 /* 'quit' */ 00000294 486D 008A pea.l [A5 + 0x8A /* export_13 */] 00000298 7000 moveq.l D0, 0x00 0000029A 2F00 move.l -[A7], D0 0000029C 7200 moveq.l D1, 0x00 0000029E 1F01 move.b -[A7], D1 000002A0 303C 091F move.w D0, 0x91F 000002A4 A816 syscall Pack8 000002A6 558F subq.l A7, 2 000002A8 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */ 000002AE 2F3C 6F64 6F63 move.l -[A7], 0x6F646F63 /* 'odoc' */ 000002B4 486D 0092 pea.l [A5 + 0x92 /* export_14 */] 000002B8 7000 moveq.l D0, 0x00 000002BA 2F00 move.l -[A7], D0 000002BC 7200 moveq.l D1, 0x00 000002BE 1F01 move.b -[A7], D1 000002C0 303C 091F move.w D0, 0x91F 000002C4 A816 syscall Pack8 000002C6 558F subq.l A7, 2 000002C8 2F3C 6165 7674 move.l -[A7], 0x61657674 /* 'aevt' */ 000002CE 2F3C 7064 6F63 move.l -[A7], 0x70646F63 /* 'pdoc' */ 000002D4 486D 009A pea.l [A5 + 0x9A /* export_15 */] 000002D8 7000 moveq.l D0, 0x00 000002DA 2F00 move.l -[A7], D0 000002DC 7200 moveq.l D1, 0x00 000002DE 1F01 move.b -[A7], D1 000002E0 303C 091F move.w D0, 0x91F 000002E4 A816 syscall Pack8 000002E6 4A2D F466 tst.b [A5 - 0xB9A] 000002EA 504F addq.w A7, 8 000002EC 674A beq +0x4C /* 00000338 */ 000002EE 558F subq.l A7, 2 000002F0 486D 014A pea.l [A5 + 0x14A /* export_37 */] 000002F4 7000 moveq.l D0, 0x00 000002F6 2F00 move.l -[A7], D0 000002F8 2F00 move.l -[A7], D0 000002FA 7001 moveq.l D0, 0x01 000002FC ABED syscall DragDispatch 000002FE 301F move.w D0, [A7]+ 00000300 48C0 ext.l D0 00000302 2C00 move.l D6, D0 00000304 662E bne +0x30 /* 00000334 */ 00000306 558F subq.l A7, 2 00000308 486D 0152 pea.l [A5 + 0x152 /* export_38 */] 0000030C 7000 moveq.l D0, 0x00 0000030E 2F00 move.l -[A7], D0 00000310 2F00 move.l -[A7], D0 00000312 7002 moveq.l D0, 0x02 00000314 ABED syscall DragDispatch 00000316 301F move.w D0, [A7]+ 00000318 48C0 ext.l D0 0000031A 2C00 move.l D6, D0 0000031C 671A beq +0x1C /* 00000338 */ 0000031E 558F subq.l A7, 2 00000320 486D 014A pea.l [A5 + 0x14A /* export_37 */] 00000324 7000 moveq.l D0, 0x00 00000326 2F00 move.l -[A7], D0 00000328 7003 moveq.l D0, 0x03 0000032A ABED syscall DragDispatch 0000032C 422D F466 clr.b [A5 - 0xB9A] 00000330 544F addq.w A7, 2 00000332 6004 bra +0x6 /* 00000338 */ label00000334: 00000334 422D F466 clr.b [A5 - 0xB9A] label00000338: 00000338 7000 moveq.l D0, 0x00 0000033A 6014 bra +0x16 /* 00000350 */ label0000033C: 0000033C 7002 moveq.l D0, 0x02 0000033E 2F00 move.l -[A7], D0 00000340 7200 moveq.l D1, 0x00 00000342 2F01 move.l -[A7], D1 00000344 2F06 move.l -[A7], D6 00000346 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 0000034A 3006 move.w D0, D6 0000034C 4FEF 000C lea.l A7, [A7 + 0xC] label00000350: 00000350 4CEE 18C8 FFE4 movem.l D3,D6,D7,A3,A4, [A6 - 0x1C] 00000356 4E5E unlink A6 00000358 4E75 rts